package main

import "fmt"

/*
	if
	switch
	for
	select
*/

type A interface {
}

func main() {
	var a A
	a = "hello"

	//type switch
	switch b := a.(type) {
	case string:
		println(b)
	case int:
		println(b + 1)
	}

	//type assert
	if b, ok := a.(string); ok {
		fmt.Printf("b is string of value of %s \n", b)
	}

	//for
	//for range

	//select
}
